package com.luyuan.gallery.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.luyuan.common.annotation.Excel;
import com.luyuan.common.core.domain.BaseEntity;

/**
 * 展厅作品关联对象 exhi_gallery_artwork
 * 
 * @author luyuan
 * @date 2025-11-13
 */
public class ExhiGalleryArtwork extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 展厅ID */
    @Excel(name = "展厅ID")
    private Long galleryId;

    /** 作品ID */
    @Excel(name = "作品ID")
    private Long artworkId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setGalleryId(Long galleryId) {
        this.galleryId = galleryId;
    }

    public Long getGalleryId() {
        return galleryId;
    }

    public void setArtworkId(Long artworkId) {
        this.artworkId = artworkId;
    }

    public Long getArtworkId() {
        return artworkId;
    }

    public void setSortOrder(Long sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("galleryId", getGalleryId())
                .append("artworkId", getArtworkId())
                .append("sortOrder", getSortOrder())
                .append("createTime", getCreateTime())
                .toString();
    }
}
